/*********************************************************************
	Rhapsody	: 7.5 
	Login		: kbe
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: Default
//!	Generated Date	: Thu, 27, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\Default.h
*********************************************************************/

#ifndef Default_H
#define Default_H

//#[ ignore
#ifdef _MSC_VER
// disable Microsoft compiler warning (debug information truncated)
#pragma warning(disable: 4786)
#endif
//#]

//## auto_generated
#include <oxf\oxf.h>
//## auto_generated
#include <string>
//## auto_generated
#include <algorithm>
//## auto_generated
#include <oxf\event.h>
//## auto_generated
#include "SOCK_WrapperFacade.h"
//## auto_generated
template <class SERVICE_HANDLER, class IPC_ACCEPTOR> class Acceptor;

//## auto_generated
class Alarm;

//## auto_generated
class AlarmEvent;

//## auto_generated
class Client;

//## auto_generated
template <class SERVICE_HANDLER, class IPC_CONNECTOR> class Connector;

//## auto_generated
class EventHandler;

//## auto_generated
class LF_EventHandler;

//## auto_generated
class Log;

//## auto_generated
class LogEvent;

//## auto_generated
class Patient;

//## auto_generated
class PatientEvent;

//## auto_generated
class Reactor;

//## auto_generated
class ReactorServer;

//## auto_generated
class ServiceHandler;

//## auto_generated
class SimulatorReactorImplementation;

//## auto_generated
class SocketReactorImplementation;

//## auto_generated
class StubSynchronousEventDemultiplexer;

//## auto_generated
class ThreadPool;

//#[ ignore
#define Start_Default_id 18601

#define Register_Default_id 18602

#define Simulate_Default_id 18603

#define Connect_Default_id 18604
//#]

//class Reactor;

//## type Event_Type
enum Event_Type {
    READ_EVENT = 1,
    ACCEPT_EVENT = 2,
    INVALID_EVENT = 3
};

//## type HANDLE
typedef void * HANDLE;

//## package Default


//## type Buf_Size
enum Buf_Size {
    SIZE_BIG = 512,
    SIZE_SMALL = 256
};

//## event Start()
class Start : public OMEvent {
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    Start();
    
    ////    Framework operations    ////
    
    //## statechart_method
    bool isTypeOf(short id) const;
};

//## event Register()
class Register : public OMEvent {
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    Register();
    
    ////    Framework operations    ////
    
    //## statechart_method
    bool isTypeOf(short id) const;
};

//## event Simulate()
class Simulate : public OMEvent {
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    Simulate();
    
    ////    Framework operations    ////
    
    //## statechart_method
    bool isTypeOf(short id) const;
};

//## event Connect()
class Connect : public OMEvent {
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    Connect();
    
    ////    Framework operations    ////
    
    //## statechart_method
    bool isTypeOf(short id) const;
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\Default.h
*********************************************************************/
